#ifndef  __GLOBALS_H_
#define  __GLOBALS_H_

#include "common.h"
#include "descriptorManager.h"


typedef struct _Globs_ {
  DescriptorManager* dm;
  int mapid;

  //Conf:
  char descriptor_conf_file[NAME_LEN];
  char segment_data_thin[NAME_LEN];
  char segment_data_rough[NAME_LEN];
  char in_data_path[NAME_LEN];
  char out_data_path[NAME_LEN];
  char err_data_path[NAME_LEN];
  char display_out_data_path[NAME_LEN];
  char unit_out_data_path[NAME_LEN];
  int  num_links_per_repo;
} Globs;

typedef struct _Statistic_ {
  uint64_t total;
  uint64_t succ_read;
  uint64_t error_read;
  uint64_t error_process;
} Stats;














#endif  //__GLOBALS_H_
